﻿CREATE PROCEDURE [dbo].[TempArticles_SameStoreArticles]
	@sameStoreId int 
AS
	select distinct ta.*
	from TempArticles ta
	inner join TempArticleSales ts on ta.Code = ts.ArticleCode
	where ts.StoreId = @sameStoreId
RETURN 0